<ul id="sliding-navigation">
  <li class="sliding-element"><b>My Account</b></li>
  <li class="sliding-element <?php if ($script == 'index') echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id; ?>';">Status</a></li>
  
  <li class="sliding-element">&nbsp;</li>
  
  <li class="sliding-element"><b>My Orders</b></li>
  <li class="sliding-element <?php if ($script == 'index_order' && $status == 1) echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_order&status=1'; ?>';">Unpaid (<?php echo $unpaid; ?>)</a></li>
  <li class="sliding-element <?php if ($script == 'index_order' && $status == 2) echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_order&status=2'; ?>';">Paid (<?php echo $paid; ?>)</a></li>
  <li class="sliding-element <?php if ($script == 'index_order' && $status == 3) echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_order&status=3'; ?>';">Shipped (<?php echo $shipped; ?>)</a></li>
  <li class="sliding-element <?php if ($script == 'index_order' && $status == 4) echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_order&status=4'; ?>';">Completed (<?php echo $closed; ?>)</a></li>
  
  <li class="sliding-element">&nbsp;</li>
  
  <li class="sliding-element"><b>Personal</b></li>
  <li class="sliding-element <?php if ($script == 'index_contact') echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_contact'; ?>';">Contact</a></li>
  <li class="sliding-element <?php if ($script == 'index_address') echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_address'; ?>';">Addresses</a></li>
  <li class="sliding-element <?php if ($script == 'index_password') echo 'hi'; ?>"><a href="#" onclick="parent.location.href='http://<?php echo URL . '?i=' . $page_id . '&script=index_password'; ?>';">Change Password</a></li>
</ul>